package org.opencare.ndwc.service;

import java.util.List;
import java.util.Map;

import org.opencare.ndwc.model.DisasterType;
import org.opencare.ndwc.model.Event;
import org.opencare.ndwc.model.EventLevel;
import org.opencare.ndwc.model.EventType;

public interface EventManager {

	public Event addEvent(String topic, String description, Long eventTypeId,
			Long eventLevelId, Long disasterTypeId, String[] mapPath, String isPublic);

	public List<Event> findAllEvent();	
	public Map<String, Object> findAllEventMap();
	public Map<String, Object> findPagingEventMap(int start, int limit);
	public Map<String, Object> findPagingGlobalEventMap(int start, int limit);
	public Event findEventById(Long id);

	public List<Event> findEventByName(String name);

	public List<EventLevel> findAllEventLevel();
	public Map<String, Object> findAllEventLevelMap();

	public List<EventType> findAllEventType();
	public Map<String, Object> findAllEventTypeMap();
	
	public List<DisasterType> findAllDisasterType();
	public Map<String, Object> findAllDisasterTypeMap();	
	public List<List<String>> getPossibleBusinessGroups(String userId,String query);
}
